package org.lee.app.mediator;

import java.util.List;

/**
 * SqlSession
 * 会话
 *
 * @author dralee
 * @date 2021-11-23 15:22:40
 **/
public interface SqlSession {

    <T> T selectOne(String statement);

    <T> T selectOne(String statement, Object parameter);

    <T> List<T> selectList(String statement);

    <T> List<T> selectList(String statement, Object parameter);

    void close();
}
